



# a,b,c,d=1,2,3,4
# print(a,b,c,d)
# a,b,c=map(str,input().split(","))##input输入的是字符串，spilt是按照参数分割,默认是空格
# print(a,b,c)
# # while a>b:
# #     for i in range(10):
# #         if(i==5):
# #             break
# #         else :
# #             print("a>b",end=f":{i} ")
# #     break

# cin=input
# cout=print
#
# x=int(cin("你今天有好好学习吗(1：好好学习了 2：没有好好学习)\n"))
#
# if x==1:
#     cout("今天好好学习了")
# else:
#     cout("今天没有好好学习")

class node:
    def __init__ (self,id,name,age):
        self.id=id
        self.name=name
        self.age=age

    def __del__ (self):
        del self.id
        del self.name
        del self.age

    def debug(self):
        print(f"id: {self.id}\nname: {self.name}\nage: {self.age}")

def fact(n):
    if n==1 :return n
    return fact(n-1)*n

person1=node(1,"小红",18)
person1.debug()

x=fact(3)
print(x)

for i in range (1,5,2):
    print(i,"",end="")

#字典序
ctor=dict()
ctor={
    "class":2023182,
    "name" :"刘乾",
    "age":18
}

print(ctor)
a=[1,4,8]
a.reverse()
print(a)

#单元组
a={1,}
#元组
b=((5,56,6),(5,5,8))
c=1,2,3,4,5,6#也是一个元组

print(type(c))
# print(type(b))
# b.index(0)
print(b[0][1])

